-- GENERATED SPELL FOR [Greater Spindleweb] --


function spell0_16352(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(11918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16352', 15000, 1)
end

function Sorts_16352(pUnit, Event)
local choix_sorts_16352 = math.random(0, 0)
if choix_sorts_16352 == 0 then
pUnit:RegisterEvent('spell0_16352', 1, 1)
end
end

function mob16352_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16352', math.random(1500, 3000), 1)
end

function mob16352_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16352_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16352_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16352, 1, 'mob16352_Action')
RegisterUnitEvent(16352, 2, 'mob16352_Leave')
RegisterUnitEvent(16352, 3, 'mob16352_Kill')
RegisterUnitEvent(16352, 4, 'mob16352_Die')
